<?php
include '../template/template_main.tpl'; 
require("../connect/connect.php");

if(isset($_SESSION["profile"])){
	switch($_SESSION["profile"]){
		case 1: break;
		case 2: header("Location: ../admin/adminDock.php"); break;
		default: header("Location: ../index.php");
	}
}
else
	header("Location: ../index.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="../css/template.css" />
<link rel="stylesheet" type="text/css" href="../css/corpo_main.css" />
<script type="text/javascript" src="../js/jquery-1.7.2.js" ></script>
<script type="text/javascript" src="../js/main.js" ></script>

<title>.:MateMatrix:.</title>

</head>
<body>
	<?php makeHeader(); ?>
	<?php echo $estruturaInicio;?>
	<div id="title">
		<h1>- Team private settings -</h1>
	</div>
	<div id="logos">	
		<a href="#" title="Editar Equipa"><img src="../images/icons/edit-icon.png" alt="Edit Equipa"></img></a>
		<a href="../equipa/editarResposta.php" title="Editar Resposta"><img src="../images/icons/Text edit.png" alt="Edit Resposta"></img></a><br />	
	</div>
	<?php echo $estruturaFim; ?>
	<?php echo $footer;?>
</body>
</html>